package com.yike.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 店铺支付渠道
 *
 * @author Sakura
 * @since 2024-11-15
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "店铺支付渠道信息")
public class ShopPayChannelVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID，修改必传")
    private Long id;

    @ApiModelProperty("店铺ID")
    private Long shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("店铺编号")
    private String shopNo;

    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("联系电话")
    private String mobile;

    @ApiModelProperty("省code")
    private String provCode;

    @ApiModelProperty("省名称")
    private String provName;

    @ApiModelProperty("市code")
    private String cityCode;

    @ApiModelProperty("市名称")
    private String cityName;

    @ApiModelProperty("区code")
    private String distCode;

    @ApiModelProperty("区名称")
    private String distName;

    @ApiModelProperty("代理商ID")
    private String agentId;

    @ApiModelProperty("代理商编号")
    private String agentNo;

    @ApiModelProperty("代理商名称")
    private String agentName;

    @ApiModelProperty("服务商ID")
    private Long channelId;

    @ApiModelProperty("服务商名称")
    private String channelName;

    @ApiModelProperty("通道")
    private String passage;

    @ApiModelProperty("支付方式")
    private String payway;

    @ApiModelProperty("平台商户号")
    private String platformMchNo;

    @ApiModelProperty("支付商户号")
    private String payMchNo;

    @ApiModelProperty("服务费率")
    private BigDecimal commissionRate;

    @ApiModelProperty("appid")
    private String appId;

    @ApiModelProperty("秘钥")
    private String secretKey;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("状态：1启用 2禁用")
    private Integer status;

    @ApiModelProperty("备注")
    private String description;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
